package com.lt.test.entity.DTO;

import java.io.Serializable;

/**
 * Created by zhengchuan on 2017/5/24.
 */
public class SmokeCustomerListDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    private String idCar;
    private String bankCar;
    private String phone;
    private String sex;
    private String age;
    private String userAddress;
    private String operatorTime;
    private String weekDay;
    private String weekDayStr;
    private String sumQuantity;
    private String sumPrice;
    private String productName;
    private String countOrderId;
    private String shopAddress;
    private String shopDistribute;
    private String timeQuan;
    private String smokeChange;
    private String shopName;
    private String tranType;
    private String customerId;
    private String type;

    public String getIdCar() {
        return idCar;
    }

    public void setIdCar(String idCar) {
        this.idCar = idCar;
    }

    public String getBankCar() {
        return bankCar;
    }

    public void setBankCar(String bankCar) {
        this.bankCar = bankCar;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public String getOperatorTime() {
        return operatorTime;
    }

    public void setOperatorTime(String operatorTime) {
        this.operatorTime = operatorTime;
    }

    public String getWeekDay() {
        return weekDay;
    }

    public void setWeekDay(String weekDay) {
        this.weekDay = weekDay;
        switch (weekDay) {
            case "1":
                setWeekDayStr("一");
                break;
            case "2":
                setWeekDayStr("二");
                break;
            case "3":
                setWeekDayStr("三");
                break;
            case "4":
                setWeekDayStr("四");
                break;
            case "5":
                setWeekDayStr("五");
                break;
            case "6":
                setWeekDayStr("六");
                break;
            case "0":
                setWeekDayStr("日");
                break;
            default:
                break;
        }
    }

    public String getWeekDayStr() {
        return weekDayStr;
    }

    public void setWeekDayStr(String weekDayStr) {
        this.weekDayStr = weekDayStr;
    }

    public String getSumQuantity() {
        return sumQuantity;
    }

    public void setSumQuantity(String sumQuantity) {
        this.sumQuantity = sumQuantity;
    }

    public String getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(String sumPrice) {
        this.sumPrice = sumPrice;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getCountOrderId() {
        return countOrderId;
    }

    public void setCountOrderId(String countOrderId) {
        this.countOrderId = countOrderId;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    public String getShopDistribute() {
        return shopDistribute;
    }

    public void setShopDistribute(String shopDistribute) {
        this.shopDistribute = shopDistribute;
    }

    public String getTimeQuan() {
        return timeQuan;
    }

    public void setTimeQuan(String timeQuan) {
        this.timeQuan = timeQuan;
    }

    public String getSmokeChange() {
        return smokeChange;
    }

    public void setSmokeChange(String smokeChange) {
        this.smokeChange = smokeChange;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getTranType() {
        return tranType;
    }

    public void setTranType(String tranType) {
        switch (tranType) {
            case "1":
                tranType = "云捷付微信";
                break;
            case "3":
                tranType = "云捷付支付宝";
                break;
            case "5":
                tranType = "银联在线";
                break;
            case "6":
                tranType = "pos支付";
                break;
            case "7":
                tranType = "现金支付";
                break;
            case "8":
                tranType = "pos优惠";
                break;
            case "9":
                tranType = "原生微信";
                break;
            case "10":
                tranType = "原生支付宝";
                break;
            default:
                tranType = "未知";
                break;

        }
        this.tranType = tranType;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "SmokeCustomerListDTO{" +
                "idCar='" + idCar + '\'' +
                ", bankCar='" + bankCar + '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", userAddress='" + userAddress + '\'' +
                ", operatorTime='" + operatorTime + '\'' +
                ", weekDay=" + weekDay +
                ", weekDayStr='" + weekDayStr + '\'' +
                ", sumQuantity=" + sumQuantity +
                ", sumPrice=" + sumPrice +
                ", productName='" + productName + '\'' +
                ", countOrderId=" + countOrderId +
                ", shopAddress='" + shopAddress + '\'' +
                ", shopDistribute='" + shopDistribute + '\'' +
                ", timeQuan='" + timeQuan + '\'' +
                ", smokeChange='" + smokeChange + '\'' +
                ", shopName='" + shopName + '\'' +
                ", tranType='" + tranType + '\'' +
                ", customerId='" + customerId + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
